﻿using System;
using System.ComponentModel.DataAnnotations;

namespace kmaraszkiewicz.Models
{
    public class Job
    {
        public int JobId { get; set; }
        public int AuthorDescriptionId { get; set; }
        [Required]
        public string CompanyName { get; set; }
        public string ComapnyLinkUrl { get; set; }
        [Required]
        public string JobPosition { get; set; }
        [Required]
        public DateTime DateFrom { get; set; }
        public DateTime DateTo { get; set; }
        public AuthorDescription AuthorDescription { get; set; }
    }
}